package com.example.mptnet.Models;

import com.google.gson.annotations.SerializedName;

public class User{
    @SerializedName("id")
    public String id;
    @SerializedName("username")
    public String username;
    @SerializedName("firstname")
    public String firstname;
    @SerializedName("dateregistration")
    public String dateregistration;
    @SerializedName("procent")
    public int procent;
    @SerializedName("users_group")
    public String users_group;
    @SerializedName("nickname")
    public String nickname;
    @SerializedName("role")
    public String role;
    public User(){}

    public User(String id, String username, String firstname, String dateregistration, int procent, String users_group, String nickname, String role) {
        this.id = id;
        this.username = username;
        this.firstname = firstname;
        this.dateregistration = dateregistration;
        this.procent = procent;
        this.users_group = users_group;
        this.nickname = nickname;
        this.role = role;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getFirstname() {
        return firstname;
    }

    public void setFirstname(String firstname) {
        this.firstname = firstname;
    }

    public String getDateregistration() {
        return dateregistration;
    }

    public void setDateregistration(String dateregistration) {
        this.dateregistration = dateregistration;
    }

    public int getProcent() {
        return procent;
    }

    public void setProcent(int procent) {
        this.procent = procent;
    }

    public String getUsers_group() {
        return users_group;
    }

    public void setUsers_group(String users_group) {
        this.users_group = users_group;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }
}